<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %> 
<!doctype html>
<html lang="zh-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="stylesheet" href="lib/bootstrap/css/bootstrap.min.css">

<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/main.css">    
<script src="lib/jquery-2.1.1.min.js"></script>
<script src="lib/bootstrap/js/bootstrap.min.js"></script>
<title>HIFO-测试</title>
<script language="javascript" type="text/javascript">
function tijiao1(){
	//$("#state").val("a");	
	document.form1.submit();
};
</script>
</head>
<body>

		
<div class="jumbotron">
<h3>测试tip:<s:property value="tip" /></h3>
<h3>测试openId:<s:property value="openId"/></h3>
<h3>测试linkName:<s:property value="linkName" /></h3>

<p>
<a class="btn btn-primary btn-lg" href="#" role="button" onclick="WeixinJSBridge.call('closeWindow');" >关闭</a></p>
</div>


<form name="form1"  action="hf_test" method="post"> 
<!-- 隐藏数据域 -->
<div class="input-group">
<input type="text" class="form-control" name="type" value="<s:property value="type"/>">
<input type="text" class="form-control" name="openId" value="olWUvt186RJV4_obaeMV5SGT4e2g">

</div>	    
</form>
<div id="div1" class="col-xs-6"><a class="btn btn-primary btn-lg" href="#" role="button" onClick="tijiao1()">测试</a></div>				
				
				

</body>
</html>